package com.ocom.common.entity.card;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 缓存用到 加字段需注意！！！！！！！！！！！！！！！！！！！！
 */


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "xf_repairpay_config")
public class EntityXfRepairpayConfig implements Serializable {

    private static final long serialVersionUID = 3098479106755059599L;

    @TableId(value = "com_id", type = IdType.INPUT)
    private Long comId;
    private Integer delayMinutes;
    private Integer allowDays;
    private Integer allowMoney;
    private Integer ifRealtimeSms;
    private Integer ifTimedSms;
    private String timedSms;
    private String chooseMode;
    private Integer offlineTimes;
    private Integer status;

    private Integer mode;
    private String mealNos;

    //商户列表
    private String merchIds;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
